import getEnumsManager from '@/common/enum';

export const AgreeOrDis = getEnumsManager([
  { value: '1', text: '同意', name: 'Agree' },
  { value: '0', text: '不同意', name: 'Disagree' }
]);

export const DiscussionResultsEnum = getEnumsManager([
  { value: '1', text: '同意', name: 'Agree' },
  { value: '0', text: '不同意', name: 'Disagree' },
  { value: '2', text: '推迟讨论', name: 'PutOff' }
]);

export const FzMemberStatusEnum = getEnumsManager([
  { value: '0', text: '待提交', name: 'ToBeSubmited' },
  { value: '1', text: '已提交', name: 'Submited' },
  { value: '2', text: '待确认', name: 'TobeComfirmed' },
  { value: '3', text: '已确认', name: 'Comfirmed' },
  { value: '4', text: '待审批', name: 'TobeApproval' },
  { value: '5', text: '已审批', name: 'Approvaled' }
]);

export const ApprovalStatusEnum = getEnumsManager([
  { value: '0', text: '未审批', name: 'TobeApproval' },
  { value: '1', text: '已审批', name: 'Approvaled' }
]);

export const DevptmemberTypeEnum = getEnumsManager([
  { value: '0', text: '发展党员', name: 'Develop' },
  { value: '1', text: '预备党员', name: 'Preparation' },
  { value: '2', text: '正式党员', name: 'Formal' }
]);

export const ApprovalPartEnum = getEnumsManager([
  { value: '402', text: '上级党委预审', name: 'Pre' },
  { value: '407', text: '上级党委审批', name: 'PreApproval' },
  { value: '507', text: '上级党委审批', name: 'Approval' },
  { value: '510', text: '材料归档审批', name: 'Archive' }
]);

export const ExtendTermEnum = getEnumsManager([
  { value: '1', text: '6个月' },
  { value: '2', text: '7个月' },
  { value: '3', text: '8个月' },
  { value: '4', text: '9个月' },
  { value: '5', text: '10个月' },
  { value: '6', text: '11个月' },
  { value: '7', text: '12个月' }
]);
